# -*- coding: utf-8 -*-
"""
-------------------------------------------------
   File Name：     PageObj.py
   Description :   
   Author :        ZhangYiLin
   date：          2020/12/17 11:37
-------------------------------------------------
   Change Activity:
                   2020/12/17 11:37
-------------------------------------------------
"""
import pytest
from TestCase import *


@pytest.fixture(scope='class')
def init_pg(login):
    login_page = LoginPage(login)
    welcome = Welcome(login)
    emergency_spectaculars_judge = EmergencySpectacularsJudge(login)
    yield login, login_page, welcome, emergency_spectaculars_judge
